A Gradual Probabilistic Lambda Calculus

نویسندگان

چکیده

Probabilistic programming languages have recently gained a lot of attention, in particular due to their applications domains such as machine learning and differential privacy. To establish invariants interest, many include some form static checking the type systems. However, adopting discipline can be cumbersome or overly conservative. Gradual typing addresses this problem by supporting smooth transition between dynamic checking, has been successfully applied for with different constructs abstractions. Nevertheless, its benefits never explored context probabilistic languages. In work, we present formalize GPLC, gradual source lambda calculus. GPLC includes binary choice operator allows programmers gradually introduce/remove type–and probability–annotations. The semantics heavily relies on notion couplings, required defining several relations, consistency, precision, consistent transitivity. is given via elaboration target language TPLC, which features distribution-based interpreting programs probability distributions over final values. Regarding metatheory, that TPLC–and therefore also GPLC–is safe satisfies two so-called refined criteria languages, namely, it conservative extension fully variant guarantee, behaving smoothly respect precision.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Probabilistic operational semantics for the lambda calculus

Probabilistic operational semantics for a nondeterministic extension of pure λ-calculus is studied. In this semantics, a term evaluates to a (finite or infinite) distribution of values. Small-step and big-step semantics, inductively and coinductively defined, are given. Moreover, small-step and big-step semantics are shown to produce identical outcomes, both in call-by-value and in call-by-name...

متن کامل

Formal Verification of ElGamal Encryption using a Probabilistic Lambda-Calculus

Game-based proofs are a common technique used to verify cryptographic constructions. Such proofs consist of a sequence of games where each transition from one game to the next can be individually verified. However, as more and more increasingly complex proofs are being published, even such transitions are often non-trivial. Moreover, games are frequently described informally or just in some ad-...

متن کامل

Infinitary Lambda Calculus Innnitary Lambda Calculus

In a previous paper we have established the theory of transsnite reduction for orthogonal term rewriting systems. In this paper we perform the same task for the lambda calculus. From the viewpoint of innnitary rewriting, the BB ohm model of the lambda calculus can be seen as an innnitary term model. In contrast to term rewriting, there are several diierent possible notions of innnite term, whic...

متن کامل

A Lambda-Calculus with Constructors

We present an extension of the ( )-calculus with a case construct that propagates through functions like a head linear substitution, and show that this construction permits to recover the expressiveness of ML-style pattern matching. We then prove that this system enjoys the Church-Rosser property using a semi-automatic `divide and conquer' technique by which we determine all the pairs of commut...

متن کامل

A Lambda Calculus with Forms

The need to use position-dependent parameters often hampers the definition of flexible, extensible, and reusable abstractions for software composition. This observation has led us to explore the concept of forms, which are first-class extensible records and that, in combination with a small set of purely asymmetric operators, provide a core language to address this issue. One interesting applic...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2023

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3586036